package com.ych.dao;

import com.ych.beans.Product;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductDao {
    boolean addProduct(Product product);

    boolean deleteProduct(Integer id);

    boolean updateProduct(Product product);

    List<Product> selectProduct(String key);
}
